[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 getdate()               Get Date

 #include   <dos.h>

 void         getdate(dateblk);
 struct date  *dateblk;                           Pointer to date structure

    getdate() gets the system's current date and fills in the 'date'
    structure which is pointed to by 'dateblk'.  The 'date' structure is
    defined as:

          struct date  {
               int da_year;             /* Current year */
               char da_day;             /* Day of the month */
               char da_mon;             /* Month (1 = Jan) */
          };

       Returns:     Nothing

   Portability:     MS-DOS only.


See Also: ctime() gettime() setdate() settime()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson